﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RiskMan.DataClass.Models
{
    public class PortfelItem
    {
        #region private

        private string _Firm;
        private string _CodeClient;
        private string _BigestLevelRisk;
        private string _TypeClient;
        private string _SrochAccount;
        private double _EnterActive;
        private Double _Laverage;
        private Double _EnterLimite;
        private Double _Short;
        private double _Long;
        private double _LongMO;
        private double _LongO;
        private double _CurrentActives;
        private double _CurrentLaverage;
        private double _LevelMarga;
        private double _CurrentLimite;
        private double _DostCurrentLimite;
        private double _BlockBuy;
        private double _BlockBuyMo;
        private double _BlockBuyO;
        private double _BlockBuyNoMarge;
        private double _BlockSell;
        private double _EnterSredstva;
        private double _CurrentSredstva;
        private double _ProfitLoss;
        private double _PersentChange;
        private double _OnBuy;
        private double _OnSell;
        private double _OnBuyNoMarge;
        private double _OnBuyObesp;
        private double _GOPositions;
        private double _GOOrders;
        private double _VariableMarg;
        private double _ActivedOnGO;
        private double _SummMoneyOstatoc;
        private double _SummBlock;
        private string _ParametersRaschet;

        #endregion

        #region public 

        /// <summary>Фирма</summary>
        public string Firm 
        {
            get { return _Firm; }
            set
            {
                if (_Firm != value)
                    _Firm = value;
            }
        }

        /// <summary>Код клиента</summary>
        public string CodeClient
        {
            get { return _CodeClient; }
            set
            {
                if (_CodeClient != value)
                    _CodeClient = value;
            }
        }

        /// <summary>ПовышУрРиска</summary>
        public string BigestLevelRisk
        {
            get { return _BigestLevelRisk; }
            set
            {
                if (_BigestLevelRisk != value)
                    _BigestLevelRisk = value;
            }
        }

        /// <summary>Тип клиента</summary>
        public string TypeClient
        {
            get { return _TypeClient; }
            set
            {
                if (_TypeClient != value)
                    _TypeClient = value;
            }
        }

        /// <summary>Сроч. счет</summary>
        public string SrochAccount
        {
            get { return _SrochAccount; }
            set
            {
                if (_SrochAccount != value)
                    _SrochAccount = value;
            }
        }

        /// <summary>Вход. активы</summary>
        public double EnterActive
        {
            get { return _EnterActive; }
            set
            {
                if (_EnterActive != value)
                    _EnterActive = value;
            }
        }
        
        /// <summary>Плечо</summary>
        public Double Laverage
        {
            get { return _Laverage; }
            set
            {
                if (_Laverage != value)
                    _Laverage = value;
            }
        }
        
        /// <summary>Вход. лимит</summary>
        public Double EnterLimite
        {
            get { return _EnterLimite; }
            set
            {
                if (_EnterLimite != value)
                    _EnterLimite = value;
            }
        }
        
        /// <summary>Шорты</summary>
        public Double Short
        {
            get { return _Short; }
            set
            {
                if (_Short != value)
                    _Short = value;
            }
        }
        
        /// <summary>Лонги</summary>
        public double Long
        {
            get { return _Long; }
            set
            {
                if (_Long != value)
                    _Long = value;
            }
        }
        
        /// <summary>Лонги МО</summary>
        public double LongMO
        {
            get { return _LongMO; }
            set
            {
                if (_LongMO != value)
                    _LongMO = value;
            }
        }
        
        /// <summary>Лонги О</summary>
        public double LongO
        {
            get { return _LongO; }
            set
            {
                if (_LongO != value)
                    _LongO = value;
            }
        }
        
        /// <summary>Тек. активы</summary>
        public double CurrentActives
        {
            get { return _CurrentActives; }
            set
            {
                if (_CurrentActives != value)
                    _CurrentActives = value;
            }
        }
        
        /// <summary>Тек. плечо</summary>
        public double CurrentLaverage
        {
            get { return _CurrentLaverage; }
            set
            {
                if (_CurrentLaverage != value)
                    _CurrentLaverage = value;
            }
        }
        
        /// <summary>Ур. маржи</summary>
        public double LevelMarga
        {
            get { return _LevelMarga; }
            set
            {
                if (_LevelMarga != value)
                    _LevelMarga = value;
            }
        }
        
        /// <summary>Тек. лимит</summary>
        public double CurrentLimite
        {
            get { return _CurrentLimite; }
            set
            {
                if (_CurrentLimite != value)
                    _CurrentLimite = value;
            }
        }
        
        /// <summary>ДостТекЛимит</summary>
        public double DostCurrentLimite
        {
            get { return _DostCurrentLimite; }
            set
            {
                if (_DostCurrentLimite != value)
                    _DostCurrentLimite = value;
            }
        }
        
        /// <summary>БлокПокупка</summary>
        public double BlockBuy
        {
            get { return _BlockBuy; }
            set
            {
                if (_BlockBuy != value)
                    _BlockBuy = value;
            }
        }
        
        /// <summary>БлокПок МО</summary>
        public double BlockBuyMo
        {
            get { return _BlockBuyMo; }
            set
            {
                if (_BlockBuyMo != value)
                    _BlockBuyMo = value;
            }
        }
        
        /// <summary>БлокПок О</summary>
        public double BlockBuyO
        {
            get { return _BlockBuyO; }
            set
            {
                if (_BlockBuyO != value)
                    _BlockBuyO = value;
            }
        }
        
        /// <summary>БлокПокНеМарж</summary>
        public double BlockBuyNoMarge
        {
            get { return _BlockBuyNoMarge; }
            set
            {
                if (_BlockBuyNoMarge != value)
                    _BlockBuyNoMarge = value;
            }
        }
        
        /// <summary>БлокПродажа</summary>
        public double BlockSell
        {
            get { return _BlockSell; }
            set
            {
                if (_BlockSell != value)
                    _BlockSell = value;
            }
        }
        
        /// <summary>ВходСредства</summary>
        public double EnterSredstva
        {
            get { return _EnterSredstva; }
            set
            {
                if (_EnterSredstva != value)
                    _EnterSredstva = value;
            }
        }
        
        /// <summary>ТекСредства</summary>
        public double CurrentSredstva
        {
            get { return _CurrentSredstva; }
            set
            {
                if (_CurrentSredstva != value)
                    _CurrentSredstva = value;
            }
        }
        
        /// <summary>Прибыль/убытки</summary>
        public double ProfitLoss
        {
            get { return _ProfitLoss; }
            set
            {
                if (_ProfitLoss != value)
                    _ProfitLoss = value;
            }
        }
        
        /// <summary>ПроцИзмен</summary>
        public double PersentChange
        {
            get { return _PersentChange; }
            set
            {
                if (_PersentChange != value)
                    _PersentChange = value;
            }
        }
        
        /// <summary>На покупку</summary>
        public double OnBuy
        {
            get { return _OnBuy; }
            set
            {
                if (_OnBuy != value)
                    _OnBuy = value;
            }
        }
        
        /// <summary>На продажу</summary>
        public double OnSell
        {
            get { return _OnSell; }
            set
            {
                if (_OnSell != value)
                    _OnSell = value;
            }
        }
        
        /// <summary>НаПокупНеМаржин</summary>
        public double OnBuyNoMarge
        {
            get { return _OnBuyNoMarge; }
            set
            {
                if (_OnBuyNoMarge != value)
                    _OnBuyNoMarge = value;
            }
        }
        
        /// <summary>НаПокупОбесп</summary>
        public double OnBuyObesp
        {
            get { return _OnBuyObesp; }
            set
            {
                if (_OnBuyObesp != value)
                    _OnBuyObesp = value;
            }
        }
        
        /// <summary>ГО поз</summary>
        public double GOPositions
        {
            get { return _GOPositions; }
            set
            {
                if (_GOPositions != value)
                    _GOPositions = value;
            }
        }
        
        /// <summary>ГО заяв</summary>
        public double GOOrders
        {
            get { return _GOOrders; }
            set
            {
                if (_GOOrders != value)
                    _GOOrders = value;
            }
        }
        
        /// <summary>Вариац. маржа</summary>
        public double VariableMarg
        {
            get { return _VariableMarg; }
            set
            {
                if (_VariableMarg != value)
                    _VariableMarg = value;
            }
        }
        /// <summary>Активы/ГО</summary>
        public double ActivedOnGO
        {
            get { return _ActivedOnGO; }
            set
            {
                if (_ActivedOnGO != value)
                    _ActivedOnGO = value;
            }
        }
        
        /// <summary>Сумма ден.остатков</summary>
        public double SummMoneyOstatoc
        {
            get { return _SummMoneyOstatoc; }
            set
            {
                if (_SummMoneyOstatoc != value)
                    _SummMoneyOstatoc = value;
            }
        }
        /// <summary>Суммарно заблок.</summary>
        public double SummBlock
        {
            get { return _SummBlock; }
            set
            {
                if (_SummBlock != value)
                    _SummBlock = value;
            }
        }
        
        /// <summary>Парам. расч.</summary>
        public string ParametersRaschet
        {
            get { return _ParametersRaschet; }
            set
            {
                if (_ParametersRaschet != value)
                    _ParametersRaschet = value;
            }
        }

        #endregion
    }
}
